<?php 
namespace app\common\model\user;

use think\Model;

class UserPay extends Model
{
	public function getAliAttr($v)
	{
		return $v ? 'http://'.$_SERVER['HTTP_HOST'].$v : $v;
	}
	public function getWechatAttr($v)
	{
		return $v ? 'http://'.$_SERVER['HTTP_HOST'].$v : $v;
	}
}